<template>
    <div class="business">
        <pub-top isBorder="true" title="关于我们"></pub-top>

        <div class="txt" v-html="data"></div>


    </div>
</template>
<script>
import Vue from 'vue';
import { mapState } from 'vuex';
import { Toast, List } from 'vant';
import pubTop from '@/components/top';
export default {
    data(){
        return {
            data: null
        }
    },
    created(){
        this.axios.get('http://jxjq.0791jr.com/index.php?m=App&c=Mine&a=about_us', {
            params:{
                uid: this.$store.state.user.uid
            }
        }).then(res => {
            if(res.status == 200){
                const data = res.data.data;
                this.data = data.about
            }
        })
    },
    computed: {
        ...mapState(['user'])
    },
    components: {
        pubTop
    },
    methods: {

    },
}
</script>
<style lang="less" scoped>
.business {
    min-height: 100vh;
    background-color: #fff;
    .head {
        height: 0.8rem;
        padding: 0 0.24rem;
        font-size: 0.28rem;
        line-height: 120%;
        color: #999;
        span {
            font-weight: bold;
        }
    }
    .txt {
        padding: 0.4rem 0.24rem;
    }
}
</style>

